#!/bin/bash

log_name="/home/ubuntu/workspace/learn/bash/duss_shell.log"
action_str="forward"
host_id="0x0802"
msg_id="0x0006002f"
log_processed="/home/ubuntu/workspace/learn/bash/processed.log"
python_file="/home/ubuntu/workspace/learn/bash/find_lostpack.py"

python $python_file $log_name $action_str $host_id $msg_id $log_processed
cat $log_processed

all_counts=0
all_counts=$(awk -F ':|/| ' '/msg/ {print $3;}' $log_processed)
echo all_counts = $all_counts